import Vue from 'vue'
import {
  Tabbar,
  TabbarItem,
  NavBar,
  Form,
  Field,
  Button,
  Toast,
  Icon,
  Lazyload,
  Swipe,
  SwipeItem,
  Search,
  Grid,
  GridItem,
  Cell,
  CellGroup,
  Card,
  DropdownMenu,
  DropdownItem,
  Tag,
  Loading,
  IndexBar,
  IndexAnchor,
  List,
  Area

} from 'vant'
Vue.use(Tabbar)
  .use(TabbarItem)
  .use(NavBar)
  .use(Form)
  .use(Field)
  .use(Button)
  .use(Icon)
  .use(Lazyload)
  .use(Swipe)
  .use(SwipeItem)
  .use(Search)
  .use(Grid)
  .use(GridItem)
  .use(Cell)
  .use(CellGroup)
  .use(Card)
  .use(DropdownMenu)
  .use(DropdownItem)
  .use(Tag)
  .use(Loading)
  .use(IndexBar)
  .use(IndexAnchor)
  .use(List)
  .use(Area)

Vue.prototype.$toast = Toast
